package com.hujinwen.service;

import com.fasterxml.jackson.core.JsonProcessingException;

import java.io.IOException;

/**
 * Created by joe on 2020/3/16
 */
public interface ESService {

    /**
     * 查询笔记
     */
    String queryNote(String kw) throws IOException;

    /**
     * 新增笔记
     */
    String putNote(String title, String tags, String content) throws JsonProcessingException;

}
